<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	{{csrf_field()}}
	<script type="text/javascript" src="/jquery-1.8.3.js"></script>
	<script type="text/javascript">
		$.ajax({
			url:"/test",
			type:"post",
			data:{"_token":$("input[type='hidden']").val()},
			success:function(mes){
				alert(mes);
			}
		})
	</script>
</body>
</html>